package cn.xd.itstack.springframework.context;

import cn.xd.itstack.springframework.beans.BeansException;

/**
 * @Classname ConfigurableApplicationContext
 * @Description TODO
 * @Date 2022/5/17 下午5:43
 * @Created by lvxiaodong
 */
public interface ConfigurableApplicationContext extends ApplicationContext {


    void refresh() throws BeansException;

    /**
     * 注册钩子方法
     */
    void registerShutdownHook();

    /**
     * 执行关闭
     */
    void close();
}
